import { axios } from '@/utils/request'

/**
 * 查询分页列表
 *
 * @author yubaoshan
 * @date 2020/5/25 01:31
 */
export function cookBookStoreList (parameter) {
  return axios({
    url: '/Recipes/Page',
    method: 'get',
    params: parameter
  })
}

// 新增
export function addCookBookStore (data) {
  return axios({
    url: '/Recipes/Add',
    method: 'post',
    data
  })
}

// 删除
export function delCookBookStore (data) {
  return axios({
    url: '/Recipes/Delete',
    method: 'post',
    data
  })
}